package cn.kgc.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@EnableEurekaClient    // 标识当前服务是eureka的客户端
public class EurekaClientApplication {
    public static void main( String[] args ) {
        SpringApplication.run(EurekaClientApplication.class, args);
    }
}
